//
//  RecommendEntity.m
//  Rong360
//
//  Created by tianliwei on 15/3/14.
//  Copyright (c) 2014 tianliwei. All rights reserved.
//

#import "RecommendEntity.h"

static RecommendEntity *recommendEntity;

@implementation RecommendEntity

+ (RecommendEntity *)sharedRecommend{
    @synchronized(self){
        
        if (recommendEntity == nil) {            
            recommendEntity = [[RecommendEntity alloc] init];
            recommendEntity.apps = [NSArray array];
        }
    }
    return recommendEntity;
}

- (void)parseFromDic:(NSDictionary *)dic{
    recommendEntity.apps = [dic objectForKey:@"recommend_app"];
}

@end
